/*
day292
2020.6.15
*/

#include<iostream>
#include<vector>
using namespace std;

class Solution {
public:
    int findLengthOfLCIS(vector<int>& nums) {
    	if(nums.size()==0)
		{
			return 0;
		 } 
		 
		int *arr=(int *)malloc(sizeof(int)*nums.size());
		arr[0]=1;
		int res=1;
		for(int i=1;i<nums.size();++i)
		{
			if(nums[i]>nums[i-1])
			{
				arr[i]=arr[i-1]+1;
				if(arr[i]>res)
				{
					res=arr[i];
				}
			}
			else
			{
				arr[i]=1;
			}
		}
		return res;
    }
};


int main()
{
	return 0;
}
